package org.subject.entity;

import java.util.Date;

public class Message {
    private Long messageId;

    private String messageTitle;

    private String messageContent;

    private String messageDesc;

    private String contestRequirement;

    private Date createTime;

    private Date registrationStartTime;

    private Date registrationEndTime;

    private Date startTime;

    private Date endTime;

    private String messageRemark;

    private Long userId;

    public Message(Long messageId, String messageTitle, String messageContent, String messageDesc, String contestRequirement, Date createTime, Date registrationStartTime, Date registrationEndTime, Date startTime, Date endTime, String messageRemark, Long userId) {
        this.messageId = messageId;
        this.messageTitle = messageTitle;
        this.messageContent = messageContent;
        this.messageDesc = messageDesc;
        this.contestRequirement = contestRequirement;
        this.createTime = createTime;
        this.registrationStartTime = registrationStartTime;
        this.registrationEndTime = registrationEndTime;
        this.startTime = startTime;
        this.endTime = endTime;
        this.messageRemark = messageRemark;
        this.userId = userId;
    }

    public Message() {
        super();
    }

    public Long getMessageId() {
        return messageId;
    }

    public void setMessageId(Long messageId) {
        this.messageId = messageId;
    }

    public String getMessageTitle() {
        return messageTitle;
    }

    public void setMessageTitle(String messageTitle) {
        this.messageTitle = messageTitle == null ? null : messageTitle.trim();
    }

    public String getMessageContent() {
        return messageContent;
    }

    public void setMessageContent(String messageContent) {
        this.messageContent = messageContent == null ? null : messageContent.trim();
    }

    public String getMessageDesc() {
        return messageDesc;
    }

    public void setMessageDesc(String messageDesc) {
        this.messageDesc = messageDesc == null ? null : messageDesc.trim();
    }

    public String getContestRequirement() {
        return contestRequirement;
    }

    public void setContestRequirement(String contestRequirement) {
        this.contestRequirement = contestRequirement == null ? null : contestRequirement.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getRegistrationStartTime() {
        return registrationStartTime;
    }

    public void setRegistrationStartTime(Date registrationStartTime) {
        this.registrationStartTime = registrationStartTime;
    }

    public Date getRegistrationEndTime() {
        return registrationEndTime;
    }

    public void setRegistrationEndTime(Date registrationEndTime) {
        this.registrationEndTime = registrationEndTime;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getMessageRemark() {
        return messageRemark;
    }

    public void setMessageRemark(String messageRemark) {
        this.messageRemark = messageRemark == null ? null : messageRemark.trim();
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
}